<div class="logo_vert"></div>
<div class="top">
    <div class="logo"><a href="<?php echo url_for("@homepage"); ?>" class="ajax-load"><h1>Lezgro</h1></a></div>
    <div class="title-blog2"><a href="<?php echo url_for("blog/index"); ?>" class="ajax-load">blog</a></div>
    <div class="separator"><!----></div>
</div>
<div id="bigblock">
            <?php include_partial('layout/left_menu'); ?>

            <div class="blog-read-content">
                <ul class="articles">
                    <li class="pic"><h3 class="blog_text">blog</h3><div class="blog-title"></div></li>
                    <?php  $i=0?>
                    <?php foreach($articles as $article): ?>
                    <li>
                        <a href="<?php echo url_for(array('module'=>'blog','action'=>'show','slug'=>$article->getSlug())) ?>" class="article1 highlight ajax-load">
                            <div class="blog-square-content">
                                <h3><?php echo $article->getTitle() ?></h3>
                                <p><?php echo $article->getShortContent() ?></p>
                            </div>
                        </a>
                    </li>
                    <?php if(++$i==10) break;?>
                    <?php endforeach;?>
                </ul>
            </div>
        </div>